const constant = {
    //阿里服务
    SERVER: "APP-MNG-ALIPAY",

    LAUNCH_PATH: "LAUNCH_PATH",

    LAUNCH_QUERY: "LAUNCH_QUERY",

    //公司管理员角色码
    ROLE_COMPANY_ADMIN: "COMPANY_ADMIN",
    //门店管理员角色码
    ROLE_STORE_ADMIN: "STORE_ADMIN",
    //普通员工
    ROLE_STAFF: "STAFF",

    OPEN_STATUS: [{label: '启用', value: "1"}, {label: "禁用", value: "0"}],

    ORDER_TAG: [{label: '租房', value: 'HOUSE'}, {label: '租车', value: 'CAR'}, {label: '店租', value: 'STORE'}, {
        label: '其它',
        value: 'OTHER'
    }],

    AUTO_WITHHOLDING: [{label: "开启", value: 1}, {label: "关闭", value: 0}],

    PAY_RENT: [{label: "先享后付", value: 'USE_FIRST'}, {label: "先付后享", value: 'PAY_FIRST'}],

    SIGN_STATUS: {
        CONTRACT_PERIOD: "01",
        CONTRACT_END: "02",
    },

    ORDER: {
        STATUS: [
            {label: "待确认", value: 'WAIT_CONFIRM'},
            {label: "待支付", value: 'WAIT_PAID'},
            {label: "进行中", value: 'UNDERWAY'},
            {label: "结算中", value: 'RECOVERY_IN_PROGRESS'},
            {label: "已取消", value: 'CANCEL'},
            {label: "终止", value: 'DISCONTINUE'},
            {label: "已完成", value: 'FINISH'},
        ],
        KEY: {
            WAIT_CONFIRM: "WAIT_CONFIRM",
            WAIT_PAID: "WAIT_PAID",
            UNDERWAY: "UNDERWAY",
            RECOVERY_IN_PROGRESS: "RECOVERY_IN_PROGRESS",
            CANCEL: "CANCEL",
            DISCONTINUE: "DISCONTINUE",
            FINISH: "FINISH"
        }
    },


    BILL: {
        STATUS: [
            {label: "待收款", value: "WAIT_PAY"},
            {label: "已逾期", value: "OVERDUE"},
            {label: "逾期收款中", value: "IN_OVERDUE_PAY"},
            {label: "商家已收款", value: "MERCHANT_RECEIVE_PAY"},
            {label: "平台已收款", value: "PLAT_RECEIVE_PAY"},
            {label: "已终止", value: "END"}
        ],
        KEY: {
            WAIT_PAY: "WAIT_PAY",
            OVERDUE: "OVERDUE",
            IN_OVERDUE_PAY: "IN_OVERDUE_PAY",
            MERCHANT_RECEIVE_PAY: "MERCHANT_RECEIVE_PAY",
            PLAT_RECEIVE_PAY: "PLAT_RECEIVE_PAY",
            END: "END",
        }
    },

    DEPOSIT_TYPE: [{label: "正常收取", value: 'NORMAL'}, {label: "免收押金", value: 'FREE'}, {label: "收押金冻结", value: 'FREEZE'}],
    DEPOSIT: {
        NORMAL: "NORMAL",
        FREEZE: "FREEZE",
        FREE: "FREE"
    },

    TIME_SLOT: [
        {label: "7日", value: 1},
        {label: "30日", value: 2},
        {label: "上月", value: 3},
        {label: "本月", value: 4},
    ],

    PAY_CYCLE: [{label: "日", value: "DAY"}, {label: "周", value: "WEEK"}, {label: "月", value: "MONTH"}, {
        label: "季",
        value: "QUARTER"
    }],
    PAY_CYCLE_KEY: {
        DAY: "DAY",
        WEEK: "WEEK",
        MONTH: "MONTH",
        QUARTER: "QUARTER",
    }
}

export default constant;
